@import '../../style/mixin.scss';

.power {
    text-align      : center;
    background-color: #f0f2f5;

    .power-menu {
        @include flex(flex-start);
        margin-top      : 66px;
        padding-left    : 70px;
        line-height     : 70px;
        background-color: #454A52;

        .ant-menu-item:hover,
        .ant-menu-item-selected {
            color        : #F8B657;
            border-bottom: 2px solid #F8B657;
        }
    }

    .power-menu-item {

        color: #fff;

        img {
            margin-right: 5px;
            width       : 30px;
        }

    }

    .power-list {
        margin     : auto;
        padding-top: 30px;
    }

    .no-data {
        @include font(18px, #999, center);
        margin-top: 60px;
    }

    .power-item {
        @include font(18px, #000);
        position        : relative;
        padding         : 20px;
        margin-bottom   : 30px;
        background-color: #fff;

        .icon-logo {
            img {
                width         : 24px;
                vertical-align: bottom;
            }

            span {
                @include font(16px, #000);
            }
        }

        h3 {
            @include font(22px, #000);
            margin-bottom: 5px;
        }

        big {
            @include font(24px, #000);
        }

        small {
            @include font(14px, #808080, center);
        }

        >.title {
            margin-bottom : 25px;
            padding-bottom: 10px;
            border-bottom : 1px solid #eee;
        }

        .price {
            @include flex();
            @include font(24px, #F8B657, center);
            padding: 0 0 20px;

            big {
                @include font(48px, #F8B657, center);
                line-height : 54px;
                padding-left: 4px;
                font-weight : lighter;
            }
        }

        .desc {
            @include font(14px, #000, center);

            .title {
                @include font(14px, #808080, center);
                margin-bottom: 5px;
            }
        }

        .text-right {
            text-align: right;
        }

        .input-num {
            margin          : 20px 0;
            padding-right   : 50px;
            width           : 100%;
            height          : 44px;
            line-height     : 44px;
            background-color: #eee;
        }

        .input-row {
            position: relative;
        }

        .input-sub {
            @include font(14px, #808080, center);
            position: absolute;
            right   : 28px;
            top     : 31px;
        }

        .sold {
            @include flex();
            position: absolute;
            bottom  : 0;
            left    : 0;
            width   : 100%;
            height  : 100%;
        }

        .buy-btn {
            @include font(18px, #fff, center);
            width : 100%;
            height: 50px;
        }

        .look-btn {
            @include font(18px, #3F90FA, center);
            width       : 100%;
            height      : 50px;
            border-color: #3F90FA;
        }

        .award {
            @include font(13px, #000, center);
            width     : 100%;
            padding   : 22px 0 16px;
            text-align: center;
        }

        .pay-icon {
            margin: 0 8px;
            width : 24px;
            height: 24px;
        }
    }

    .power-fee {
        padding: 30px 20px;
        @include font(16px, #000);

        img.fee-icon {
            width       : 40px;
            height      : 40px;
            margin-right: 10px;
        }

        big {
            @include font(30px, #000);
            font-weight: 600;
            padding    : 0 10px;
        }

        .pay-icon {
            margin-right: 15px;
            width       : 24px;
            height      : 24px;
        }

        .right-big {
            @include font(30px, $blue);
        }

        .fee-one {
            height: 60px;
        }

        .gray-text {
            @include font(16px, #808080);

            a {
                @include font(16px, $blue);
                padding-left: 2px;
            }
        }
    }

    .fee-box {
        background-color: #fff;
        max-width       : 1240px;
    }

    .fee-desc-item {
        padding: 20px 0;

        img {
            width       : 80px;
            height      : 80px;
            margin-right: 15px;
        }

        p {
            @include font(14px, #808080);
            padding-top  : 12px;
            margin-bottom: 10px;
        }

        big {
            @include font(20px, #000);
            font-weight: 600;
        }
    }

    .fee-list {
        @include flex(space-evenly);
        padding       : 20px;
        flex-direction: column;
    }

    .fee-desc {
        @include flex();
        flex-wrap: wrap;
        height   : 100%;
    }

    .fee-item {
        @include flex(space-around);
        margin-bottom   : 15px;
        padding         : 0 25px;
        width           : 100%;
        height          : 54px;
        border-radius   : 4px;
        background-color: #F2F2F2;
        cursor          : pointer;

        .fee-sub {
            margin-top      : -12px;
            padding         : 0 10px;
            background-color: #F8B657;
            color           : #fff;
            border-radius   : 10px 0 10px 0;
        }
    }

    .fee-item-active {
        @include flex(space-between);
        margin-bottom   : 10px;
        padding         : 0 25px;
        width           : 100%;
        height          : 45px;
        border-radius   : 4px;
        background-color: #F8B657;
        color           : #fff;

        .fee-sub {
            margin-top      : -12px;
            padding         : 0 10px;
            background-color: #fff;
            color           : #F8B657;
            border-radius   : 10px 0 10px 0;
        }
    }

    .fee-item-btn {
        width : 100%;
        height: 45px;
    }
}